home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1682 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.lang.c++
  2. Path: munta.cs.mu.OZ.AU!fjh
  3. From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
  4. Subject: Re: Name-mangling standard
  5. Message-ID: <9601219.10685@mulga.cs.mu.OZ.AU>
  6. Sender: news@cs.mu.OZ.AU (CS-Usenet)
  7. Organization: Computer Science, University of Melbourne, Australia
  8. References: <20c.32169.607@newage.com.ar> <4bsnbu$5mu@mujibur.inmind.com> <30EDC013.7C780E5E@cims.nyu.edu> <DL1pqE.KKq@infosoft.com>
  9. Date: Fri, 12 Jan 1996 08:14:30 GMT
  10.  
  11. jgalt@infosoft.com (John Galt) writes:
  12.  
  13. >> I certainly hope not!  Name mangling is a solution to passing type
  14. >> information to 1950's linkers.  Once linkers become more sophisticated,
  15. >> name mangling can disappear back into the slime from which it came.
  16. >
  17. >I beg to differ.  Name mangling serves several indispensible functions:
  18.  
  19. The functions it serves may be indispensible, but name mangling itself
  20. is not.  If linkers simply allowed arbitrary characters in symbol names
  21. (just as many modern operating systems allow almost arbitrary
  22. characters in file names) then all three functions that you listed
  23. could be done without name mangling.
  24.  
  25. >In short, wanting to eliminate name mangling is like wanting a compiler that
  26. >never prints error messages.  It's for people who would rather walk off a
  27. >cliff than have someone tell them they're about to.
  28.  
  29. No, I think you missed the point.  Wanting to eliminate name mangling
  30. is for people who would rather hear "you're about to fall off a cliff!"
  31. than "youX27reX20aboutX20toX20fallX20offX20aX20cliffX21".
  32.  
  33. --
  34. Fergus Henderson                 WWW: http://www.cs.mu.oz.au/~fjh
  35. fjh@cs.mu.oz.au                  PGP: finger fjh@128.250.37.3
  36.